home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ Oct 89 / Z0073-Multi_TEViews-Oct89 < prev    next >
Encoding:
Text File  |  1989-10-13  |  2.0 KB  |  52 lines  |  [TEXT/GEOL]

  1. Item    0825615                         13-Oct-89        10:07
  2.  
  3. From:   AU0008                          Kopfwerk EDV SW Entwicklung
  4.  
  5. To:     MACAPP.TECH$                    MACAPP Tech
  6.  
  7. Sub:    Multi_TEViews
  8.  
  9. Hi MacAppers,
  10.  
  11. has somebody a solution to have multiple TTEViews in one window?
  12.  
  13. I need them to let my application write bills. A bill should consists of a text
  14. (TTEView), closely followed by a list (TGridView) and again a text (TTEView).
  15. All of them has variable length because it depends on the actual data. Printing
  16. of these bills should not be a great problem, all I have to do is put them into
  17. one superView and calculate the positions of every view before printing. But
  18. the real problem is to have multiple TEViews in one window on the screen, so
  19. the user can specify the fixed text at the beginning and at the end of the
  20. bill.
  21.  
  22. I see 3 steps of difficulties:
  23.  
  24. Step 1) multiple TScrollers, each with one TTEView in it. This is not the most
  25. elegant user interface, but it would help. You will see TScrollers of static
  26. size with a TEView of dynamic size in it.
  27.  
  28. Step 2) multiple TTEViews in only a single TScroller. This should work like
  29. multiple paragraphs in a word processor. Here the location of a single TEView
  30. depends on the vertical size of the TEViews above it. So every keystroke could
  31. change the location of the TEViews below the current one.
  32.  
  33. Step 3) not only TTEViews in one TScroller but also TPictures, TGridViews, and
  34. so on.
  35.  
  36. Step 4) same as step 3 with creating and deleting of all the views inside the
  37. TScroller at runtime (I know, this sounds like wishes for Xmas).
  38.  
  39. I thought step one is easy, but it isnĀ“t. It is not possible to select another
  40. TEView than the first selected TEView at the time the window opens. As you can
  41. see I am also happy if step 1 is solved.
  42.  
  43. Please let me hear if you have any solutions,
  44. Thank you in advance,
  45.  
  46. Tommi GESSL,
  47. KOPFWERK SW. Dev.
  48.  
  49. PS: It would be great if the cookbook has a lesson about printing of headers
  50. and footers with TEViews.
  51.  
  52.